package cn.edu.lcu.cs.architecture.event.demo;

import cn.edu.lcu.cs.util.ConsoleColor;

public class MouseEventListener implements EventListener {
    @Override
    public void process(Event event) {
        if (event.getType() == Event.Type.MOUSE) {
            System.out.println(ConsoleColor.FG_BLUE + "鼠标事件：" + event.getMessage() + ConsoleColor.DEFAULT);
        }
    }
}
